/**
 * @filename:SysLogininfor 2022年1月27日
 * @project Wonder wallet Framework  V1.0
 * Copyright(c) 2020 LuZhongren Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.request;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import com.wonder.common.constants.Constants;
import java.util.Date;

/**   
 * @Description:TODO(系统访问记录检索条件实体类)
 * 
 * @version: V1.0
 * @author: LuZhongren
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysLogininforRequest implements Serializable {

	private static final long serialVersionUID = 16434440640811L;
	
	@ApiModelProperty(value = "当前页")
	private int pageNum=(int) Constants.DEFAULT_PAGE;
	
	@ApiModelProperty(value = "每页记录数")
	private int pageSize= (int) Constants.DEFAULT_LIMIT;
	

	@ApiModelProperty(name = "infoId" , value = "访问ID")
	private Long infoId;

	@ApiModelProperty(name = "loginName" , value = "登录账号")
	private String loginName;

	@ApiModelProperty(name = "ipaddr" , value = "登录IP地址")
	private String ipaddr;

	@ApiModelProperty(name = "loginLocation" , value = "登录地点")
	private String loginLocation;

	@ApiModelProperty(name = "browser" , value = "浏览器类型")
	private String browser;

	@ApiModelProperty(name = "os" , value = "操作系统")
	private String os;

	@ApiModelProperty(name = "status" , value = "登录状态（0成功 1失败）")
	private String status;

	@ApiModelProperty(name = "msg" , value = "提示消息")
	private String msg;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "loginTime" , value = "访问时间")
	private Date loginTime;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "beginLoginTime" , value = "开始访问时间")
	private Date beginLoginTime;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "endLoginTime" , value = "结束访问时间")
	private Date endLoginTime;

}